<?php

namespace app\wtp\controller;

use app\BaseController;
use think\facade\Log;
//use think\Log;

class Order  extends BaseController
{
    public function info()
    {

        Log::info('wtp-order-info');
//        Log::info("red-info");
//        $log = new Log();
//        $log->info("red-info");
        $p = app()->getRuntimePath() . 'log' . DIRECTORY_SEPARATOR ;

        return $p;
    }
    public function name(){
        Log::info('wtp-order-name');
        return "订单的name";
    }

    //vip login
    public function vip(){

        echo 'vip';
    }

}